projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f2a113
)
Fix PERROR.
author
Ewan Mellor
<ewan@xensource.com>
Thu, 7 Dec 2006 17:48:35 +0000
(17:48 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Thu, 7 Dec 2006 17:48:35 +0000
(17:48 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/libxc/xc_private.h
patch
|
blob
|
history
diff --git
a/tools/libxc/xc_private.h
b/tools/libxc/xc_private.h
index 2ddec3f988234f14508fe4d913e41de85d1b049d..f087e7de6987f23fb6eda76dab87414753cf2e2b 100644
(file)
--- a/
tools/libxc/xc_private.h
+++ b/
tools/libxc/xc_private.h
@@
-63,7
+63,7
@@
void xc_set_error(int code, const char *fmt, ...);
#define ERROR(_m, _a...) xc_set_error(XC_INTERNAL_ERROR, _m , ## _a )
#define PERROR(_m, _a...) xc_set_error(XC_INTERNAL_ERROR, _m " (%d = %s)", \
-
_m ,
## _a , errno, strerror(errno))
+ ## _a , errno, strerror(errno))
int lock_pages(void *addr, size_t len);
void unlock_pages(void *addr, size_t len);